<?php

declare(strict_types=1);

namespace App\Model;



/**
 * @property int $id 
 * @property int $parent_id 
 * @property string $name 
 * @property string $account 
 * @property string $password 
 * @property string $salt 
 * @property int $role_id 
 * @property int $status 
 * @property string $create_at 
 * @property string $update_at 
 * @property string $avatar 
 * @property string $email 
 * @property string $last_login_at 
 * @property string $push_id 
 * @property string $valid_date 
 */
class Client extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'client';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'parent_id', 'name', 'account', 'password', 'salt', 'role_id', 'status', 'create_at', 'update_at', 'avatar', 'email', 'last_login_at', 'push_id', 'valid_date'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'parent_id' => 'integer', 'role_id' => 'integer', 'status' => 'integer'];
}
